import request from "../utils/request";
/**
 * 用户登录
 * @param {*} obj 
 * @returns 
 */
export const login = (obj) => {
    return request({
        url: 'api/Admin/Logins',
        method: "post",
        data: obj,
    });
};
/**
 * 检查用户登录
 * @param {*} obj 
 * @returns 
 */
export const check = (obj) => {
    return request({
        url: "api/Admin/CheckLogin",
        method: "get",
        params: obj,
    })
}